package com.aaa.project.mapper;

import com.aaa.entity.OCart;
import com.aaa.entity.OOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 购物车 Mapper 接口
 * </p>
 *
 * @author zhangxuhui
 * @since 2023-02-01
 */
@SuppressWarnings("all")
public interface OCartMapper extends BaseMapper<OCart> {


    List<OCart> getAll(String id);

    public List<OOrder> getOrderByCode(@Param("code") String code);
}
